<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: SinKitwah
  Date: 2018/7/12
  Time: 20:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>个人云存储系统</title>
</head>
<body>
<table>
    <tr>
        <td>文件名</td>
        <td>创建日期</td>
    </tr>
    <c:forEach var="img" items="${ImgList}">
        <tr>
            <td>
                <a href="/download?fileId=${img.getId()}">${img.getFilename()}</a>
            </td>
            <td>${img.getDate()}</td>
        </tr>
    </c:forEach>
</table>
<form action="/upload.do" method="get">
    <input type="submit" value="上传">
</form>
</body>
</html>
